home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Blocks
- Date: Fri, 24 Jun 1994 13:01:44 +0200 (MDT)
- In-Reply-To: <Pine.3.87.9406231534.A12383-0100000@grad> from "Timothy Miller" at Jun 23, 94 03:58:34 pm
- From: Annius.Groenink@cwi.nl (Annius Groenink)
- X-Face: "E3Hm]k]&:,OEP<{D2ixJf>-9[qOGLebNa0&cQyFL-a~)kTM3&&I"gFw=fJ]K%1IduGjOE`
- ZGu]&~G]QNGa7i/L!+#Xng<|+}HKYHj~5?fTInUEUh0$I1gBI7jrA!&_|e/pR1[cX:^xgJTPsrjA_9
- m8Zli[|.-u{]+c1(6C7mL*m`/_J\>.{4!:g
- Mime-Version: 1.0
- Precedence: bulk
-
-
- The David Letterman of the Gem-list, Tim Miller:
-
-
- > Obviously, you've not tried to implement this system before... either
- > that or you made it more complicated than it really is. In reality, the
-
- I know how easy the block=cursor system is to implement. That's why it
- is extra suspicious from user-friendliness perspective. It is simply a
- hack promoted to a feature. An excuse of the lazy programmer.
-
-
- > metaphor is nothing more than just a 'way' of looking at it. It turns
- > out to take less to implement, because you don't have all the EXTRA CODE
- > required implement an INDEPENDANT block-handling system. In the
- > big-cursor system, the block-handling and normal insertion code are the
- > SAME code, performing the same tasks, although you could do it
- > differently, but that would probably make it more difficult than the
- > other method. And on top of that, it requires the user to LEARN a LOT
- > LESS. And besides that, the user is no less likely to make mistakes
- > using your system than the big-cursor system.
-
- Well... except for ^A... And as to your SHIFT+BACKSPACE problem, the
- reason that most block=cursor programs use UNDO to undo just the LAST
- CHARACTER inserted is because of the same programmer laziness. YES,
- orthogonal, NO good.
-
-
- > Too much thinking for the programmer? People developing and explaining
- > theories tend to over-explain things for the sake of giving multiple ways
- > of understanding the same thing. And we implement this system because we
- > DO care about what the user wants and IS WELL ACCUSTOMED TO!
-
- Many people stick to WordPerfect for decades because that's what they're
- WELL ACCUSTOMED TO. Is that a good reason?
-
-
- > Too much thinking for the programmer? Are you one of the proponents of
- > that short-cut config file? Sheesh.
-
- I'm actually implementing bits of it.
-
-
- > You're right. It's too much. I prefer the terms "Hide Block", or
-
- Clear Selection. (=deselect all)
-
- > "Deselect Block". Using the word 'all' in there doesn't seem to make
- > much sense.
-
- I agree.
-
- > )Hm. If the Mac system were really as orthogonal as people on the list
- > )claim, hitting backspace should remove the block PLUS the character
- > )right before the block; for that's what is does when the block is size
- > )0 (the cursor). Similar for Delete.
- >
- > Now, don't get silly on us. If you have a real arguement against it,
- > fine, but don't give us useless comments.
-
- You simply say they're useless because you don't understand me. What
- I'm saying does make sense, but perhaps not to a lazy reader.
-
-
- > And per your comment about dangerous applications... some dangers are
- > very difficult to 'implement out'. It's best, most often, to change
- > something else, easier to change.
-
- OK, you go for the easy way, fine. But don't let your laziness
- influence our proposal. Designing a good GUI and going for the most
- easy implementation simply don't go together at all.
-
- > close window =
- > if (changed)
- > { switch (ask_user)
- > { case Cancel
- > : do noting
- > ; case Abandon
- > : close
- > ; case Reload
- > : reload
- > ; case Save
- > : save, close
- > ; case Save As...
- > : save as, close
- > ; } }
- > else
-
- > Talk about ugly code. I'm sorry, but this is a mess. You're violating
- > numerous rules of readable code. Is that why you said not to cover this
- > subject? And those semicolons and colons all lined up there are ugly,
- > distracting, and out of place.
-
- Because you're not ACCUSTOMED TO my way of formatting C. It is actually
- *very orthogonal*, and gives precise information about the block
- structure just because of the alignment of the semicolons.
-
- > How about go for something a little more normal?
- >
- > if (changed) {
- > switch (ask_user) {
- > case Cancel:
- > do noting;
- >
- > case Abandon:
- > close;
- >
- > case Reload:
- > reload;
- >
- > case Save:
- > save, close;
- >
- > case Save As...:
- > save as, close;
- > }
- > } else {
- > ........
- > }
-
- Because 'normal' is usually not the best one can think of. Most
- progammers *are* lazy. Your code goes even more heavily against
- 'rules for readability' that mine. Finding matching semicolons and
- brackets is really hard when they're not aligned.
-
-
- > There. That's better. Now that I can read it, I can ask you why you are
- > closing upon save. Why? That's the most annoying feature of First
- > Word. Don't close on save. If I want to close, I'll TELL it to close.
-
- Oh PLEASE. We're discussing the DIALOG that pops up AFTER the user has
- selected CLOSE. Obviously all actions except CANCEL should result in
- the window to be closed. Talking about a lazy reader...
-
-
- > We need to make a standard that is robust, applicable to a wide range of
- > applications, and bullet-proof. We can do it, but it'll take a lot of
- > work. We've accomplished just about everything already.
-
- OK, let's introduce a special logo
-
- <ASCII 249> PROOF
-
- for applications that have 'redraw screen' on Control A. There won't
- be many, though, I guess.
-
-
- > Ha! Do you think Atari's going to be around that long? They don't
- > develop computers any more. We're just trying to salvage what's left of
- > the developers and make our twilight years the best they can be.
-
- Hm. The truth can be embarassing.
-
- --
- Annius V. Groenink | E-mail: avg@cwi.nl | Private & ZFC: (e-mail soon)
- CWI, Kruislaan 413 | Room: M233 | P.O. Box 12079
- 1098 SJ Amsterdam | Ext: 4077 | NL 1100 AB Amsterdam
- Netherland | Phone: +31 20 592 4077 | Phone: +31 20 695 9901
-